#ifndef CLINE_H
#define CLINE_H

#include <QObject>
#include <QWidget>
#include <QPen>
#include <QBrush>
#include <QPainter>
#include "CFigure.h"

class CLine : public CFigure
{
public:
    CLine();
    ~CLine();
    void setStart(int x, int y);
    void setEnd(int x, int y);
    void drawFigure(QPainter *painter);
private:
    int sx;
    int sy;
    int ex;
    int ey;
};

#endif // DRECT_H
